package com.speedchina.permission.web.apiv2;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import prlv.ln.api.version.spring.boot.annotation.ApiVersion;

/**
 * 测试版本管理
 *
 * @author hank
 * @create 2021-04-15 上午10:31
 **/

@Api(tags = "Test模块V2", description = "测试API对Swagger的影响")
@ApiVersion("2")
@RestController
@RequestMapping("/test")
public class TestVersionV2Controller {

    @ApiOperation("你好")
    @GetMapping("hello")
    public String hello(){
        return "v2";
    }

}

